Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Stable 1.5.1 rc #1281

Merged
merged 16 commits into from
Feb 28, 2019
Merged

Stable 1.5.1 rc #1281

merged 16 commits into from
Feb 28, 2019

Conversation

egernst
Copy link
Member

@egernst egernst commented Feb 26, 2019

We've been lax on getting PRs applied to the stable branches. Here's an update for stable-1.5 . based on fixes which landed on master since 1.5.

liwei and others added 10 commits February 25, 2019 21:08
- Do symlink to a relative path to hypervisor config.
- Create symlink on DESTDIR

Fixes: kata-containers#1161

Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
Config paths are set correctly but they must be set before handleShowConfig

fixes kata-containers#1185

Signed-off-by: Julio Montes <[email protected]>
Add a CODEOWNERS file so we can get github to automatically
request reviews. In this instance, specifically the docs team
for markdown documents.

Fixes: kata-containers#1192

Signed-off-by: Graham Whaley <[email protected]>
Architecture-dependent settings were not being populated when GOPATH
was set. This change ensures they are always set.

Fixes kata-containers#1169

Signed-off-by: William Douglas <[email protected]>
We are moving off pullapprove. Remove its config file.

Fixes: kata-containers#1215

Signed-off-by: Graham Whaley <[email protected]>
In GOPATH not set mode got:
make: go: Command not found
Makefile:38: arch/-options.mk: No such file or directory
make: go: Command not found
Makefile:237: *** "ERROR: No hypervisors known for architecture  (looked for: firecracker qemu)".  Stop.

The root cause is GOPATH not set mode is not set ARCH.
Set it to fix the issue.

Fixes: kata-containers#1224

Signed-off-by: Hui Zhu <[email protected]>
When a container does not exist, runc does not fail.  Lets mimic this
behavior, sometimes kuberentes will try to force delete containers that
could not be created and gets confused if delete --force fails.

Fixes: kata-containers#1219

Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
Sometimes qemu/qmp commands error out and VM files
get left behind on the host filesystem. Clen them up
irrespective of `stopSandbox` succeeds or fails.

Fixes: kata-containers#1246

Signed-off-by: Nitesh Konkar [email protected]
Commit affd6e3 ("devices: add reference
count for devices.") introduced an attach count for devices.  The
vhost-user-blk device increments the counter instead of decrementing it
when detaching.

Fixes: kata-containers#1259
Signed-off-by: Stefan Hajnoczi <[email protected]>
@egernst
Copy link
Member Author

egernst commented Feb 26, 2019

/test

@egernst
Copy link
Member Author

egernst commented Feb 26, 2019

Not included: e8a8e0d Merge pull request #1111 from sboeuf/bump_kernel
Not included: 16bd983 Merge pull request #1264 from Ace-Tang/master
b96ca22 Merge pull request #1260 from stefanha/fix-vhost-user-blk-detach
1d79338 Merge pull request #1247 from nitkon/leakyPods
Not included: 60f7c4f Merge pull request #1189 from devimc/topic/fixCpuCgroup
22cee2d Merge pull request #1220 from jcvenegas/delete-force-not-fail-non-container
Not included: 731ff7b Merge pull request #1242 from teawater/golock
Not included: 816ea42 Merge pull request #1202 from Pennyzct/unit-test
Not included: 7f2b2da Merge pull request #1239 from chavafg/topic/update-k8s
Not included: 268ddc5 Merge pull request #1237 from chavafg/topic/update-qemu-lite-hash
Not included: 136b188 Merge pull request #1235 from nitkon/debug
Not included: d07297c Merge pull request #1232 from jcvenegas/clear-rootfs-latest
Not included: d7b6b25 Merge pull request #1205 from lifupan/asyncevents
1c27ab7 Merge pull request #1225 from teawater/fixmakeinstall
Not included: 6431f1f Merge pull request #1066 from sameo/topic/state-storage
Not included: 319a98f Merge pull request #1175 from nitkon/master
a3a3d1a Merge pull request #1216 from grahamwhaley/20190206_remove_pullapprove
Not included: d3c63e6 Merge pull request #1212 from sameo/topic/ut-noise
Not included: f92ca1d Merge pull request #1199 from devimc/topic/snapBanner
Not included: 5f1ca16 Merge pull request #1178 from yyyeerbo/wip
Not included: 530360d Merge pull request #1186 from nitkon/Hotplug
Not included: 29dae85 Merge pull request #1181 from sameo/topic/network-interface
91c454d Merge pull request #1168 from bryteise/hypervisor-cmd-defaults
eb92f49 Merge pull request #1193 from grahamwhaley/20190129_CODEOWNERS
Not included: 7cb2f31 Merge pull request #1173 from lifupan/criconfig
4092eba Merge pull request #1187 from devimc/topic/fix1185
726df9d Merge pull request #1162 from jcvenegas/fix-1161
6f2c036 Merge pull request #1164 from liwei/fix-factory-status
Not included: 1353499 Merge pull request #1115 from nitkon/P9SMT

…o file

argument struct TestDataa in generic func genericTestGetCPUDetails is repeatedly
defined in almost all arch-dependent .go file, cli/kata-check_amd64_test.go,
cli/kata-check_ppc64le_test.go, etcm, except arm64. let's only declare it once in
cli/kata-check_test.go. change its name to testCPUDetail for better understanding.

Fixes: kata-containers#1200

Signed-off-by: Penny Zheng <[email protected]>
refine a set of test functions under qemu_arm64_test.go. e.g. test
func for memoryTopology shouldn't be the same one on amd64, since
for now, we don't support nvdimm on arm64.

Fixes: kata-containers#1200

Signed-off-by: Penny Zheng <[email protected]>
original tests for func RunningOnVMM are sort of amd64-specific,
since all other archs don't support nested VMM for now.

Fixes: kata-containers#1200

Signed-off-by: Penny Zheng <[email protected]>
since generic func genericAppendBridges and genericBridges
is also applied for machine type QemuVirt, we use it as implementation
for appendBridges and bridges on aarch64.
since const defaultPCBridgeBus is used in generic func
genericAppendBridges for pc machine, we should define it once
in generic file, instead of redefining it in different
arch-specific files.

Fixes: kata-containers#1200

Signed-off-by: Penny Zheng <[email protected]>
since all generic* could bring unused linter warnings, which lead to
CI crash, we add nolint comment to avoid them.

Fixes: kata-containers#1200

Signed-off-by: Samuel Ortiz <[email protected]>
Signed-off-by: Penny Zheng <[email protected]>
refine struct testData in func TestGetCPUDetails to remove redundant
/unused struct field expectedVendor and expectedModel

Fixes: kata-containers#1200

Signed-off-by: Penny Zheng <[email protected]>
@chavafg
Copy link
Contributor

chavafg commented Feb 26, 2019

/test

@chavafg chavafg merged commit b22a901 into kata-containers:stable-1.5 Feb 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants